package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class TradeTargetCode implements Serializable {
    private String tsCode;

    private String codeName;

    private String addTime;

    private String delFlg;

    private Long userId;

    private Long targetWorkId;

    private String targetName;

    private String targetNameDesc;

    private static final long serialVersionUID = 1L;

    public String getTsCode() {
        return tsCode;
    }

    public void setTsCode(String tsCode) {
        this.tsCode = tsCode == null ? null : tsCode.trim();
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName == null ? null : codeName.trim();
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime == null ? null : addTime.trim();
    }

    public String getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(String delFlg) {
        this.delFlg = delFlg == null ? null : delFlg.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTargetWorkId() {
        return targetWorkId;
    }

    public void setTargetWorkId(Long targetWorkId) {
        this.targetWorkId = targetWorkId;
    }

    public String getTargetName() {
        return targetName;
    }

    public void setTargetName(String targetName) {
        this.targetName = targetName == null ? null : targetName.trim();
    }

    public String getTargetNameDesc() {
        return targetNameDesc;
    }

    public void setTargetNameDesc(String targetNameDesc) {
        this.targetNameDesc = targetNameDesc == null ? null : targetNameDesc.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", tsCode=").append(tsCode);
        sb.append(", codeName=").append(codeName);
        sb.append(", addTime=").append(addTime);
        sb.append(", delFlg=").append(delFlg);
        sb.append(", userId=").append(userId);
        sb.append(", targetWorkId=").append(targetWorkId);
        sb.append(", targetName=").append(targetName);
        sb.append(", targetNameDesc=").append(targetNameDesc);
        sb.append("]");
        return sb.toString();
    }
}